.class Les/ib$b;
.super Ljava/lang/Object;
.source "BitmapRecognizer.java"

# interfaces
.implements Les/ib$a;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Les/ib;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "b"
.end annotation


# instance fields
.field a:Les/ib$a;

.field b:Landroid/os/Handler;


# direct methods
.method constructor <init>(Les/ib;Les/ib$a;)V
    .locals 0
    .param p1    # Les/ib;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput-object p2, p0, Les/ib$b;->a:Les/ib$a;

    return-void
.end method

.method private a()V
    .locals 2

    .line 3
    iget-object v0, p0, Les/ib$b;->b:Landroid/os/Handler;

    if-nez v0, :cond_1

    .line 4
    monitor-enter p0

    .line 5
    :try_start_0
    iget-object v0, p0, Les/ib$b;->b:Landroid/os/Handler;

    if-nez v0, :cond_0

    .line 6
    new-instance v0, Landroid/os/Handler;

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    iput-object v0, p0, Les/ib$b;->b:Landroid/os/Handler;

    .line 7
    :cond_0
    monitor-exit p0

    goto :goto_0

    :catchall_0
    move-exception v0

    monitor-exit p0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0

    :cond_1
    :goto_0
    return-void
.end method


# virtual methods
.method public a(Les/ib$c;)V
    .locals 2

    .line 1
    invoke-direct {p0}, Les/ib$b;->a()V

    .line 2
    iget-object v0, p0, Les/ib$b;->b:Landroid/os/Handler;

    new-instance v1, Les/ib$b$a;

    invoke-direct {v1, p0, p1}, Les/ib$b$a;-><init>(Les/ib$b;Les/ib$c;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    return-void
.end method

.method public onCancel()V
    .locals 2

    .line 1
    invoke-direct {p0}, Les/ib$b;->a()V

    .line 2
    iget-object v0, p0, Les/ib$b;->b:Landroid/os/Handler;

    new-instance v1, Les/ib$b$c;

    invoke-direct {v1, p0}, Les/ib$b$c;-><init>(Les/ib$b;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    return-void
.end method

.method public onFail()V
    .locals 2

    .line 1
    invoke-direct {p0}, Les/ib$b;->a()V

    .line 2
    iget-object v0, p0, Les/ib$b;->b:Landroid/os/Handler;

    new-instance v1, Les/ib$b$b;

    invoke-direct {v1, p0}, Les/ib$b$b;-><init>(Les/ib$b;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    return-void
.end method
